<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        li {
            list-style: none;
        }

        .link-to-page {
            margin-left: 10px;
        }

        .link-to-page ul {
            display: flex;
            width: 300px;
            height: 50px;
            flex-direction: row;
            justify-content: flex-start;
            align-items: center;
            margin: 0;
        }

        .link-to-page ul li {
            margin-right: 10px;
        }
    </style>
</head>

<body>

    <div class="link-to-page">
        <h1>欢迎您来到详情页</h1>
        <ul>
            <li>
                <a href="index.html" target="_self">首页</a>
            </li>
            <li><a href="list.html" target="_self">列表页</a>
            </li>
            <li>
                <a href="details.html">详情页</a>
            </li>
            <li>
                <a href="login.html">登录页</a>
            </li>
        </ul>
        <img src="./image/details.png" alt="首页">
    </div>
</body>

</html>